<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>bootstrap-栅格布局</title>
    <link rel="stylesheet" href="./css/shange.css">
    <style>
        .container{
            background: greenyellow;
        }
        .row div{
            height: 50px;
            background: aqua;
            border: 1px solid red;
            box-sizing: border-box;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="row">
            <div class="col-lg-1 col-md-2 col-sm-3 col-xs-6">1</div>
            <div class="col-lg-1 col-md-2 col-sm-3 col-xs-6">2</div>
            <div class="col-lg-1 col-md-2 col-sm-3 col-xs-6">3</div>
            <div class="col-lg-1 col-md-2 col-sm-3 col-xs-6">4</div>
            <div class="col-lg-1 col-md-2 col-sm-3 col-xs-6">5</div>
            <div class="col-lg-1 col-md-2 col-sm-3 col-xs-6">6</div>
            <div class="col-lg-1 col-md-2 col-sm-3 col-xs-6">7</div>
            <div class="col-lg-1 col-md-2 col-sm-3 col-xs-6">8</div>
            <div class="col-lg-1 col-md-2 col-sm-3 col-xs-6">9</div>
            <div class="col-lg-1 col-md-2 col-sm-3 col-xs-6">10</div>
            <div class="col-lg-1 col-md-2 col-sm-3 col-xs-6">11</div>
            <div class="col-lg-1 col-md-2 col-sm-3 col-xs-6">12</div>
            <div class="col-lg-1">1</div>
            <div class="col-lg-2">2</div>
            <div class="col-lg-3">3</div>
            <div class="col-lg-4">4</div>
            <div class="col-lg-5">5</div>
            <div class="col-lg-6">6</div>
            <div class="col-lg-7">7</div>
            <div class="col-lg-8">8</div>
            <div class="col-lg-9">9</div>
            <div class="col-lg-10">10</div>
            <div class="col-lg-11">11</div>
            <div class="col-lg-12">12</div>
        </div>
    </div>
</body>
</html>